package com.rshang.rsdp.common.status;

/*
 * Copyright (c) 2017. Rushang Co.Ltd All Rights Reserved.
 * 项目名称:rsdp-base
 * 文件名称:RyStatusCode.java
 * 功能简介:人员状态枚举类<br/>
 *
 * @create 2017-08-31
 * @author zhangjun
 */
public enum RyStatusCode {
    RY_FOUND(200701,"msg.htxx.found"),//公司已存在
    RY_SFZHMERROR(200703,"msg.htxx.sfzhm"),//身份证号码
    RY_ZJLXERROR(200704,"msg.htxx.zjlx"),//证件类型为空
    RY_NOTFOUND(200702,"msg.htxx.notfound");//公司信息不存在

    private int code;
    private String key;

    RyStatusCode(int code, String key) {
        this.code = code;
        this.key = key;
    }
    public int getCode() {
        return code;
    }
    public String getKey() {
        return key;
    }
}
